import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
// 引入elementui组件库
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

//引入mockServe文件,让咱们模拟接口跑起来
import "@/mock/mockServe.js";
Vue.use(ElementUI);
Vue.config.productionTip = false;
//Swiper组件复用
import Swiper from "@/components/Swiper";
Vue.component(Swiper.name, Swiper);
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
